<template>
  <div class="hello">

  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data () {
    return {

    }
  },
  methods: {
    getData(){
      // this.$fetch("http://apicloud.mob.com/ip/query",{
      //   key:"1e81b0eb3edb0",
      //   ip:"222.73.199.34"
      // }).then((res)=>{
      //   console.log(res)
      // })
      this.$post("http://localhost/text.php",{
        post_data:"1",
        sasa:[2,3,5,6]
      }).then((res)=>{
        console.log(res)
        this.res=res;
      })

    }

  },
  created () {
    // this.getData()
    this.$Loading.start()
    let _this=this;
    setTimeout(()=>{
      _this.$Loading.finish()
    },2000)
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
